import Vue from 'vue'
import App from './App.vue'
import VueRouter from "vue-router"


Vue.use(VueRouter)
import  Page from "./views/page.vue"
import  Order from "./views/order.vue"
import Classify from "./views/classify.vue"
import  Me from "./views/me.vue"
const routes = [
  {
    path: "/",
    redirect: "/page"
  },
  {
    path: "/page",
    component: Page
  },
  {
    path: "/order",
    component: Order
  },
  {
    path: "/classify",
    component: Classify
  },
  {
    path: "/me",
    component: Me
  },
];
const router = new VueRouter({
  routes
})
Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
